﻿namespace PokerServer.Model
{
    public class UserModel
    {
        public int Id;
        public string Name;
        public int Bean;

        public int WinCount;
        public int LoseCount;
        public int RunCount;


        public int Lv;
        public int Exp;


        // gold


        public int AccoundId;   // 外键： 与这个角色关联的账号ID

        public UserModel(int id, string name, int accoundId)
        {
            this.Id = id;
            this.Name = name;
            this.Bean = 10000;
            this.LoseCount = 0;
            this.WinCount = 0;
            this.RunCount = 0;
            this.Lv = 1;
            this.Exp = 0;
            this.AccoundId = accoundId;
        }
    }
}
